home *** CD-ROM | disk | FTP | other *** search
- Path: overload.lbl.gov!news
- From: Mikhail Faiguenblat <mfaiguen@issserv4.lbl.gov>
- Newsgroups: comp.lang.c
- Subject: Re: Locaton of an array?
- Date: 12 Jan 1996 21:42:08 GMT
- Organization: Lawrence Berkeley Laboratory, Berkeley CA
- Message-ID: <4d6kjg$4gg@overload.lbl.gov>
- References: <4d4iqk$hs3@overload.lbl.gov> <DL2yMt.C7A@rivm.nl>
- NNTP-Posting-Host: issserv4.lbl.gov
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.12 (X11; I; SunOS 5.4 sun4d)
- X-URL: news:DL2yMt.C7A@rivm.nl
-
- "A. van Kessel" <imaavk> wrote:
- >The answer is platform-dependent. Most platforms have fysical && virtual
- >addresses, some might even have an address-space per user process.
-
- Yes, that is what I've got: virtual and physical addresses which are nowhere
- close to each other.
-
- >The pointer is just what the program needs to address that piece of mem
- >in it's own arena: outside the program that value may be meaningless,
- >except if you are a systemsprogrammer or writing a debugger.
-
- Not exactly, but pretty close; it is a program which uses DMA, and the way
- DMA works (at least, on x86) it needs to know the physical address.
- I could post the source if it might help.
-
- >Stop wanting it, its useless,
-
- Well, as long as I don't come up with a better idea, I am going to need it.
-
- >Adriaan van Kessel.
-
- >NB: Your reply addres is wrong, might be a sign.
-
- Mikhail
-
-